<!--
Create tabs with an icon and label, using the tabs-positive style.
Each tab's child <ion-nav-view> directive will have its own
navigation history that also transitions its views in and out.
-->
<ion-tabs class="tabs-stable tabs-icon-top tabs-color-active-positive">

  <!-- Dashboard Tab -->
  <ion-tab title="Status" icon-off="ion-ios-pulse" icon-on="ion-ios-pulse-strong" href="#/tab/dash">
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button ng-click="$saveOrGoBack()"></ion-nav-back-button>
    </ion-nav-bar>
    <ion-nav-view name="tab-dash"></ion-nav-view>
  </ion-tab>

  <!-- task tab -->
  <ion-tab title="我的任务" icon-off="ion-ios-list-outline" icon-on="ion-ios-list" href="#/tab/tasks">
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button ng-click="$saveOrGoBack()"></ion-nav-back-button>
    </ion-nav-bar>
    <ion-nav-view name="tab-tasks"></ion-nav-view>
  </ion-tab>

  <!-- Bugs Tab -->
  <ion-tab title="Bugs" icon-off="ion-bug" icon-on="ion-bug" href="#/tab/bugs">
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button ng-click="$saveOrGoBack()"></ion-nav-back-button>
    </ion-nav-bar>
    <ion-nav-view name="tab-bugs"></ion-nav-view>
  </ion-tab>

  <!-- Chats Tab -->
  <ion-tab title="联系人" icon-off="ion-ios-chatboxes-outline" icon-on="ion-ios-chatboxes" href="#/tab/chats">
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button ng-click="$saveOrGoBack()"></ion-nav-back-button>
    </ion-nav-bar>
    <ion-nav-view name="tab-chats"></ion-nav-view>
  </ion-tab>

  <!-- <ion-tab title="联系人" icon-off="ion-ios-briefcase-outline" icon-on="ion-ios-briefcase" href="#/tab/contacts">
    <ion-nav-view name="tab-contacts"></ion-nav-view>
  </ion-tab> -->

  <!-- Plan Tab -->
  <ion-tab title="计划管理" icon-off="ion-ios-briefcase-outline" icon-on="ion-ios-briefcase" href="#/tab/plan">
    <ion-nav-bar class="bar-calm">
      <ion-nav-back-button ng-click="$saveOrGoBack()"></ion-nav-back-button>
    </ion-nav-bar>
    <ion-nav-view name="tab-plan"></ion-nav-view>
  </ion-tab>

</ion-tabs>
